package com.dayuanit.dy15.ebook.bookshop.mapper;

import com.dayuanit.dy15.ebook.bookshop.entity.Navigation;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface NavigationMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Navigation record);

    int insertSelective(Navigation record);

    Navigation selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Navigation record);

    int updateByPrimaryKey(Navigation record);

    List<Navigation> listAll();

    List<Navigation> listById(@Param("navIds") List<Long> navIds);
}